<#assign base=request.contextPath>
<!DOCTYPE html> 
<html>
	<head>
		<title>${title}</title>
		<meta charset="utf-8">
		<#include "common/reference.ftl"/>
	</head>
	<body class="${configs["skinName"]}">
		<div class="page-content">
			<div class="row">
				<#include "common/breadcrumb.ftl">
				<form id="form" role="form" class="form-horizontal" method="post" action="${base}/${form_action}">
					<input type="hidden" name="userId" value="${userId}">
					<div class="col-xs-12">
						<div class="widget-box">
							<div class="widget-header header-color-blue2">
								<h5 class="lighter">
									<i class="fa fa-user"></i>
									角色列表
								</h5>
							</div>
							<div class="widget-body">
								<#if roles?exists && roles?size gt 0>
									<#list roles as item>
										<label>
											<input class="ace" type="radio" name="roleId" value="${item.roleId}" <#if roleId == item.roleId >checked="checked" </#if> >
											<span class="lbl">${item.roleName}</span>
										</label>
									</#list>
								</#if>
								
								<div class="clearfix form-actions">
									<div class="col-md-offset-3 col-md-9">
										<button id="btnSubmit" class="btn btn-info" type="submit">
											<i class="fa fa-check bigger-110"></i>
											提 交
										</button>
									</div>
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</body>
</html>